package cn.modoumama.excelUilt.po;

import java.io.Serializable;

import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.Font;

import cn.modoumama.excelUilt.common.InitCallStyle;

public class CellEntity implements Serializable{
    private static final long serialVersionUID = 1L;
    //宽度
    Integer width;
    //描述
    private String desc;
    //字体
    private Font font;
    //格式
    private String format;
    //默认单元格样式
    private CellStyle cellStyle;
    
    //自定义设置单元格样式
    private InitCallStyle initCallStyle = null;
    
    public CellEntity() {
		super();
	}
    
    public CellEntity(Integer width, String desc) {
		super();
		this.width = width;
		this.desc = desc;
	}

    public CellEntity(Integer width, String desc , String format) {
		super();
		this.width = width;
		this.desc = desc;
		this.format = format;
	}
    
	public CellEntity(Integer width, String desc, String format, Font font,InitCallStyle initCallStyle) {
		super();
		this.width = width;
		this.desc = desc;
		this.format = format;
		this.font = font;
		this.initCallStyle = initCallStyle;
	}
	public Integer getWidth() {
		return width;
	}
	public void setWidth(Integer width) {
		this.width = width;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Font getFont() {
		return font;
	}
	public void setFont(Font font) {
		this.font = font;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}

	public CellStyle getCellStyle() {
		return cellStyle;
	}

	public void setCellStyle(CellStyle cellStyle) {
		this.cellStyle = cellStyle;
	}

	public InitCallStyle getInitCallStyle() {
		return initCallStyle;
	}

	public void setInitCallStyle(InitCallStyle initCallStyle) {
		this.initCallStyle = initCallStyle;
	}
}
